home *** CD-ROM | disk | FTP | other *** search
/ Aminet 30 / Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso / Aminet / gfx / misc / gnuplot-3.7src.lha / gnuplot-3.7src / gnuplot-3.7.lha / gnuplot-3.7 / demo / gnuplot.rot < prev    next >
Text File  |  1998-04-22  |  518b  |  13 lines

  1. # HBB: revised open-ended animation routine. Used to just turn
  2. # round and round by somewhat large steps. Now, it tumbles
  3. # back and forth smoothly.
  4. # If 'limit_iterations' is set to a nonzero value, it'll stop after that
  5. # many iterations (iteration_count=0 has to be set before this
  6. # script is called)
  7. zrot=(zrot+10)%360
  8. xrot=(xrot+17)%180
  9. set view (50.+30.*sin(xrot/180.*pi)),60.+45.*sin(zrot/180.*pi)
  10. replot
  11. iteration_count=iteration_count+1
  12. if ((!limit_iterations) || (iteration_count<=limit_iterations)) reread
  13.